package library.server;

public class LibraryServer {

    private static final String CONFIG_FILENAME = "library.conf";

    public static void main(String[] args) {
        try {
            Config.getInstance().init(CONFIG_FILENAME);
        } catch (Exception ex) {
            System.err.println("Can't load config (" + ex.getMessage() + ")");
        }
        try {
            new Server().run();
        } catch (Exception ex) {
            System.err.println(ex.getMessage());
        }
    }
}
